package com.zjjxy.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Question {
    //主键id
    private int id;

    private String question;

    //选择题choice；多选题multipleChoice；判断题judge
    private String type;

    //开始答题start，停止答题stop（默认）
    private String status;

    //是否抢答题
    private boolean isRush;

    //分数
    private int score;

    //选项
    private String optionA;
    private String optionB;
    private String optionC;
    private String optionD;

    private String answer;

    //创建时间
    private LocalDateTime createTime;

    //更新时间
    private LocalDateTime updateTime;
}
